package com.deyuanyun.pic.settings.mapper.org;

import java.util.HashMap;
import java.util.List;

import com.deyuanyun.pic.settings.controller.dto.org.PostDTO;
import com.deyuanyun.pic.settings.controller.dto.org.PostVO;
import com.deyuanyun.pic.settings.domain.org.Post;
import com.github.pagehelper.Page;

public interface PostMapper {
    int deleteByPrimaryKey(HashMap param);

    int insert(Post record);

    int insertSelective(Post record);

    Post selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Post record);

    int updateByPrimaryKey(Post record);

    int updateState(HashMap param);

    List<PostDTO> queryAll(PostVO postVO);
}